.class public Lcom/tencent/connect/b/a;
.super Lcom/tencent/connect/common/a;


# instance fields
.field private a:Lcom/tencent/tauth/b;

.field private l:Ljava/lang/String;

.field private m:Landroid/app/Activity;

.field private final n:Lcom/tencent/tauth/b;

.field private final o:Landroid/os/Handler;


# direct methods
.method public constructor <init>(Lcom/tencent/connect/b/u;)V
    .locals 1

    invoke-direct {p0, p1}, Lcom/tencent/connect/common/a;-><init>(Lcom/tencent/connect/b/u;)V

    new-instance v0, Lcom/tencent/connect/b/b;

    invoke-direct {v0, p0}, Lcom/tencent/connect/b/b;-><init>(Lcom/tencent/connect/b/a;)V

    iput-object v0, p0, Lcom/tencent/connect/b/a;->n:Lcom/tencent/tauth/b;

    new-instance v0, Lcom/tencent/connect/b/c;

    invoke-direct {v0, p0}, Lcom/tencent/connect/b/c;-><init>(Lcom/tencent/connect/b/a;)V

    iput-object v0, p0, Lcom/tencent/connect/b/a;->o:Landroid/os/Handler;

    return-void
.end method

.method private a(ZLcom/tencent/tauth/b;)I
    .locals 8

    const-string v0, "openSDK_LOG"

    const-string v1, "OpenUi, showDialog --start"

    invoke-static {v0, v1}, Lcom/tencent/a/a/d;->a(Ljava/lang/String;Ljava/lang/String;)V

    invoke-static {}, Lcom/tencent/a/b/a;->a()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Landroid/webkit/CookieSyncManager;->createInstance(Landroid/content/Context;)Landroid/webkit/CookieSyncManager;

    invoke-virtual {p0}, Lcom/tencent/connect/b/a;->c()Landroid/os/Bundle;

    move-result-object v0

    if-eqz p1, :cond_0

    const-string v1, "isadd"

    const-string v2, "1"

    invoke-virtual {v0, v1, v2}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    :cond_0
    const-string v1, "scope"

    iget-object v2, p0, Lcom/tencent/connect/b/a;->l:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    const-string v1, "client_id"

    iget-object v2, p0, Lcom/tencent/connect/b/a;->c:Lcom/tencent/connect/b/u;

    invoke-virtual {v2}, Lcom/tencent/connect/b/u;->b()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    sget-boolean v1, Lcom/tencent/connect/b/a;->k:Z

    if-eqz v1, :cond_1

    const-string v1, "pf"

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const-string v3, "desktop_m_qq-"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    sget-object v3, Lcom/tencent/connect/b/a;->i:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, "-"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, "android"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, "-"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    sget-object v3, Lcom/tencent/connect/b/a;->h:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, "-"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    sget-object v3, Lcom/tencent/connect/b/a;->j:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    :goto_0
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v2

    const-wide/16 v4, 0x3e8

    div-long/2addr v2, v4

    invoke-virtual {v1, v2, v3}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, ""

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {}, Lcom/tencent/a/b/a;->a()Landroid/content/Context;

    move-result-object v2

    invoke-static {v2, v1}, Lcom/tencent/open/d/r;->b(Landroid/content/Context;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    const-string v3, "sign"

    invoke-virtual {v0, v3, v2}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    const-string v2, "time"

    invoke-virtual {v0, v2, v1}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    const-string v1, "display"

    const-string v2, "mobile"

    invoke-virtual {v0, v1, v2}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    const-string v1, "response_type"

    const-string v2, "token"

    invoke-virtual {v0, v1, v2}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    const-string v1, "redirect_uri"

    const-string v2, "auth://tauth.qq.com/"

    invoke-virtual {v0, v1, v2}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    const-string v1, "cancel_display"

    const-string v2, "1"

    invoke-virtual {v0, v1, v2}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    const-string v1, "switch"

    const-string v2, "1"

    invoke-virtual {v0, v1, v2}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    const-string v1, "status_userip"

    invoke-static {}, Lcom/tencent/open/d/t;->a()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-static {}, Lcom/tencent/open/d/q;->a()Lcom/tencent/open/d/q;

    move-result-object v2

    invoke-static {}, Lcom/tencent/a/b/a;->a()Landroid/content/Context;

    move-result-object v3

    const-string v4, "http://openmobile.qq.com/oauth2.0/m_authorize?"

    invoke-virtual {v2, v3, v4}, Lcom/tencent/open/d/q;->a(Landroid/content/Context;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-static {v0}, Lcom/tencent/open/d/t;->a(Landroid/os/Bundle;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v7

    new-instance v0, Lcom/tencent/connect/b/j;

    invoke-static {}, Lcom/tencent/a/b/a;->a()Landroid/content/Context;

    move-result-object v2

    const/4 v4, 0x1

    const/4 v5, 0x0

    move-object v1, p0

    move-object v3, p2

    invoke-direct/range {v0 .. v5}, Lcom/tencent/connect/b/j;-><init>(Lcom/tencent/connect/b/a;Landroid/content/Context;Lcom/tencent/tauth/b;ZZ)V

    const-string v1, "openSDK_LOG"

    const-string v2, "OpenUi, showDialog TDialog"

    invoke-static {v1, v2}, Lcom/tencent/a/a/d;->b(Ljava/lang/String;Ljava/lang/String;)V

    new-instance v1, Lcom/tencent/connect/b/k;

    iget-object v2, p0, Lcom/tencent/connect/b/a;->m:Landroid/app/Activity;

    const-string v3, "action_login"

    iget-object v6, p0, Lcom/tencent/connect/b/a;->c:Lcom/tencent/connect/b/u;

    move-object v4, v7

    move-object v5, v0

    invoke-direct/range {v1 .. v6}, Lcom/tencent/connect/b/k;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Lcom/tencent/tauth/b;Lcom/tencent/connect/b/u;)V

    invoke-virtual {v1}, Lcom/tencent/connect/b/k;->show()V

    const/4 v0, 0x2

    return v0

    :cond_1
    const-string v1, "pf"

    const-string v2, "openmobile_android"

    invoke-virtual {v0, v1, v2}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_0
.end method

.method static synthetic a(Lcom/tencent/connect/b/a;)Lcom/tencent/connect/b/u;
    .locals 1

    iget-object v0, p0, Lcom/tencent/connect/b/a;->c:Lcom/tencent/connect/b/u;

    return-object v0
.end method

.method static synthetic a(Lcom/tencent/connect/b/a;Ljava/lang/String;)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/tencent/connect/b/a;->b(Ljava/lang/String;)V

    return-void
.end method

.method private a(Landroid/app/Activity;Landroid/support/v4/app/Fragment;Z)Z
    .locals 7

    const-string v0, "com.tencent.open.agent.AgentActivity"

    invoke-virtual {p0, v0}, Lcom/tencent/connect/b/a;->a(Ljava/lang/String;)Landroid/content/Intent;

    move-result-object v0

    if-eqz v0, :cond_3

    invoke-virtual {p0}, Lcom/tencent/connect/b/a;->c()Landroid/os/Bundle;

    move-result-object v1

    if-eqz p3, :cond_0

    const-string v2, "isadd"

    const-string v3, "1"

    invoke-virtual {v1, v2, v3}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    :cond_0
    const-string v2, "scope"

    iget-object v3, p0, Lcom/tencent/connect/b/a;->l:Ljava/lang/String;

    invoke-virtual {v1, v2, v3}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    const-string v2, "client_id"

    iget-object v3, p0, Lcom/tencent/connect/b/a;->c:Lcom/tencent/connect/b/u;

    invoke-virtual {v3}, Lcom/tencent/connect/b/u;->b()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v2, v3}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    sget-boolean v2, Lcom/tencent/connect/b/a;->k:Z

    if-eqz v2, :cond_1

    const-string v2, "pf"

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    const-string v4, "desktop_m_qq-"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    sget-object v4, Lcom/tencent/connect/b/a;->i:Ljava/lang/String;

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, "-"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, "android"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, "-"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    sget-object v4, Lcom/tencent/connect/b/a;->h:Ljava/lang/String;

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, "-"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    sget-object v4, Lcom/tencent/connect/b/a;->j:Ljava/lang/String;

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v2, v3}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    :goto_0
    const-string v2, "need_pay"

    const-string v3, "1"

    invoke-virtual {v1, v2, v3}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    const-string v2, "oauth_app_name"

    invoke-static {}, Lcom/tencent/a/b/a;->a()Landroid/content/Context;

    move-result-object v3

    invoke-static {v3}, Lcom/tencent/open/d/r;->a(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v2, v3}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v3

    const-wide/16 v5, 0x3e8

    div-long/2addr v3, v5

    invoke-virtual {v2, v3, v4}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, ""

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {}, Lcom/tencent/a/b/a;->a()Landroid/content/Context;

    move-result-object v3

    invoke-static {v3, v2}, Lcom/tencent/open/d/r;->b(Landroid/content/Context;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    const-string v4, "sign"

    invoke-virtual {v1, v4, v3}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    const-string v3, "time"

    invoke-virtual {v1, v3, v2}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    const-string v2, "key_action"

    const-string v3, "action_login"

    invoke-virtual {v0, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string v2, "key_params"

    invoke-virtual {v0, v2, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Landroid/os/Bundle;)Landroid/content/Intent;

    iput-object v0, p0, Lcom/tencent/connect/b/a;->e:Landroid/content/Intent;

    invoke-virtual {p0}, Lcom/tencent/connect/b/a;->e()Z

    move-result v0

    if-eqz v0, :cond_3

    new-instance v0, Lcom/tencent/connect/b/d;

    iget-object v1, p0, Lcom/tencent/connect/b/a;->a:Lcom/tencent/tauth/b;

    invoke-direct {v0, p0, v1}, Lcom/tencent/connect/b/d;-><init>(Lcom/tencent/connect/b/a;Lcom/tencent/tauth/b;)V

    iput-object v0, p0, Lcom/tencent/connect/b/a;->a:Lcom/tencent/tauth/b;

    if-eqz p2, :cond_2

    const-string v0, "AuthAgent"

    const-string v1, "startAssitActivity fragment"

    invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    iget-object v0, p0, Lcom/tencent/connect/b/a;->a:Lcom/tencent/tauth/b;

    invoke-virtual {p0, p2, v0}, Lcom/tencent/connect/b/a;->a(Landroid/support/v4/app/Fragment;Lcom/tencent/tauth/b;)V

    :goto_1
    const/4 v0, 0x1

    :goto_2
    return v0

    :cond_1
    const-string v2, "pf"

    const-string v3, "openmobile_android"

    invoke-virtual {v1, v2, v3}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    :cond_2
    const-string v0, "AuthAgent"

    const-string v1, "startAssitActivity activity"

    invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    iget-object v0, p0, Lcom/tencent/connect/b/a;->a:Lcom/tencent/tauth/b;

    invoke-virtual {p0, p1, v0}, Lcom/tencent/connect/b/a;->a(Landroid/app/Activity;Lcom/tencent/tauth/b;)V

    goto :goto_1

    :cond_3
    const/4 v0, 0x0

    goto :goto_2
.end method

.method static synthetic b(Lcom/tencent/connect/b/a;)Lcom/tencent/connect/b/u;
    .locals 1

    iget-object v0, p0, Lcom/tencent/connect/b/a;->c:Lcom/tencent/connect/b/u;

    return-object v0
.end method

.method private b(Ljava/lang/String;)V
    .locals 6

    const-string v0, "openSDK_LOG"

    const-string v1, "OpenUi, EncrytokenListener() validToken()"

    invoke-static {v0, v1}, Lcom/tencent/a/a/d;->b(Ljava/lang/String;Ljava/lang/String;)V

    const-string v2, "https://openmobile.qq.com/user/user_login_statis"

    invoke-virtual {p0}, Lcom/tencent/connect/b/a;->c()Landroid/os/Bundle;

    move-result-object v3

    const-string v0, "encrytoken"

    invoke-virtual {v3, v0, p1}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    iget-object v0, p0, Lcom/tencent/connect/b/a;->c:Lcom/tencent/connect/b/u;

    invoke-static {}, Lcom/tencent/a/b/a;->a()Landroid/content/Context;

    move-result-object v1

    const-string v4, "POST"

    new-instance v5, Lcom/tencent/connect/b/i;

    invoke-direct {v5, p0}, Lcom/tencent/connect/b/i;-><init>(Lcom/tencent/connect/b/a;)V

    invoke-static/range {v0 .. v5}, Lcom/tencent/open/d/h;->a(Lcom/tencent/connect/b/u;Landroid/content/Context;Ljava/lang/String;Landroid/os/Bundle;Ljava/lang/String;Lcom/tencent/tauth/a;)V

    return-void
.end method

.method static synthetic c(Lcom/tencent/connect/b/a;)Lcom/tencent/connect/b/u;
    .locals 1

    iget-object v0, p0, Lcom/tencent/connect/b/a;->c:Lcom/tencent/connect/b/u;

    return-object v0
.end method

.method private c(Ljava/lang/String;)V
    .locals 4

    :try_start_0
    invoke-static {p1}, Lcom/tencent/open/d/t;->d(Ljava/lang/String;)Lorg/json/JSONObject;

    move-result-object v0

    const-string v1, "access_token"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    const-string v2, "expires_in"

    invoke-virtual {v0, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    const-string v3, "openid"

    invoke-virtual {v0, v3}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v3

    if-nez v3, :cond_0

    invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v3

    if-nez v3, :cond_0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v3

    if-nez v3, :cond_0

    iget-object v3, p0, Lcom/tencent/connect/b/a;->c:Lcom/tencent/connect/b/u;

    invoke-virtual {v3, v1, v2}, Lcom/tencent/connect/b/u;->a(Ljava/lang/String;Ljava/lang/String;)V

    iget-object v1, p0, Lcom/tencent/connect/b/a;->c:Lcom/tencent/connect/b/u;

    invoke-virtual {v1, v0}, Lcom/tencent/connect/b/u;->a(Ljava/lang/String;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :cond_0
    :goto_0
    return-void

    :catch_0
    move-exception v0

    goto :goto_0
.end method

.method static synthetic d(Lcom/tencent/connect/b/a;)Lcom/tencent/connect/b/u;
    .locals 1

    iget-object v0, p0, Lcom/tencent/connect/b/a;->c:Lcom/tencent/connect/b/u;

    return-object v0
.end method

.method static synthetic e(Lcom/tencent/connect/b/a;)V
    .locals 0

    invoke-direct {p0}, Lcom/tencent/connect/b/a;->f()V

    return-void
.end method

.method static synthetic f(Lcom/tencent/connect/b/a;)Landroid/app/Activity;
    .locals 1

    iget-object v0, p0, Lcom/tencent/connect/b/a;->m:Landroid/app/Activity;

    return-object v0
.end method

.method private f()V
    .locals 4

    iget-object v0, p0, Lcom/tencent/connect/b/a;->c:Lcom/tencent/connect/b/u;

    const-string v1, ""

    const-string v2, "0"

    invoke-virtual {v0, v1, v2}, Lcom/tencent/connect/b/u;->a(Ljava/lang/String;Ljava/lang/String;)V

    iget-object v0, p0, Lcom/tencent/connect/b/a;->c:Lcom/tencent/connect/b/u;

    const-string v1, ""

    invoke-virtual {v0, v1}, Lcom/tencent/connect/b/u;->a(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/tencent/connect/b/a;->m:Landroid/app/Activity;

    iget-object v1, p0, Lcom/tencent/connect/b/a;->l:Ljava/lang/String;

    iget-object v2, p0, Lcom/tencent/connect/b/a;->a:Lcom/tencent/tauth/b;

    const/4 v3, 0x1

    invoke-virtual {p0, v0, v1, v2, v3}, Lcom/tencent/connect/b/a;->a(Landroid/app/Activity;Ljava/lang/String;Lcom/tencent/tauth/b;Z)I

    return-void
.end method

.method static synthetic g(Lcom/tencent/connect/b/a;)Lcom/tencent/tauth/b;
    .locals 1

    iget-object v0, p0, Lcom/tencent/connect/b/a;->a:Lcom/tencent/tauth/b;

    return-object v0
.end method

.method static synthetic h(Lcom/tencent/connect/b/a;)Landroid/os/Handler;
    .locals 1

    iget-object v0, p0, Lcom/tencent/connect/b/a;->o:Landroid/os/Handler;

    return-object v0
.end method

.method static synthetic i(Lcom/tencent/connect/b/a;)Landroid/os/Bundle;
    .locals 1

    invoke-virtual {p0}, Lcom/tencent/connect/b/a;->d()Landroid/os/Bundle;

    move-result-object v0

    return-object v0
.end method

.method static synthetic j(Lcom/tencent/connect/b/a;)Lcom/tencent/connect/b/u;
    .locals 1

    iget-object v0, p0, Lcom/tencent/connect/b/a;->c:Lcom/tencent/connect/b/u;

    return-object v0
.end method


# virtual methods
.method public a(Landroid/app/Activity;Ljava/lang/String;Lcom/tencent/tauth/b;)I
    .locals 7

    const/4 v4, 0x0

    const/4 v6, 0x0

    move-object v0, p0

    move-object v1, p1

    move-object v2, p2

    move-object v3, p3

    move v5, v4

    invoke-virtual/range {v0 .. v6}, Lcom/tencent/connect/b/a;->a(Landroid/app/Activity;Ljava/lang/String;Lcom/tencent/tauth/b;ZZLandroid/support/v4/app/Fragment;)I

    move-result v0

    return v0
.end method

.method public a(Landroid/app/Activity;Ljava/lang/String;Lcom/tencent/tauth/b;Z)I
    .locals 7

    const/4 v5, 0x0

    const/4 v6, 0x0

    move-object v0, p0

    move-object v1, p1

    move-object v2, p2

    move-object v3, p3

    move v4, p4

    invoke-virtual/range {v0 .. v6}, Lcom/tencent/connect/b/a;->a(Landroid/app/Activity;Ljava/lang/String;Lcom/tencent/tauth/b;ZZLandroid/support/v4/app/Fragment;)I

    move-result v0

    return v0
.end method

.method public a(Landroid/app/Activity;Ljava/lang/String;Lcom/tencent/tauth/b;ZZLandroid/support/v4/app/Fragment;)I
    .locals 9

    iput-object p2, p0, Lcom/tencent/connect/b/a;->l:Ljava/lang/String;

    iput-object p1, p0, Lcom/tencent/connect/b/a;->m:Landroid/app/Activity;

    iput-object p3, p0, Lcom/tencent/connect/b/a;->a:Lcom/tencent/tauth/b;

    if-nez p4, :cond_2

    iget-object v0, p0, Lcom/tencent/connect/b/a;->c:Lcom/tencent/connect/b/u;

    invoke-virtual {v0}, Lcom/tencent/connect/b/u;->c()Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, Lcom/tencent/connect/b/a;->c:Lcom/tencent/connect/b/u;

    invoke-virtual {v1}, Lcom/tencent/connect/b/u;->d()Ljava/lang/String;

    move-result-object v1

    iget-object v2, p0, Lcom/tencent/connect/b/a;->c:Lcom/tencent/connect/b/u;

    invoke-virtual {v2}, Lcom/tencent/connect/b/u;->b()Ljava/lang/String;

    move-result-object v2

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v3

    if-nez v3, :cond_2

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v3

    if-nez v3, :cond_2

    invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v3

    if-nez v3, :cond_2

    const-string v3, "com.tencent.open.agent.AgentActivity"

    invoke-virtual {p0, v3}, Lcom/tencent/connect/b/a;->a(Ljava/lang/String;)Landroid/content/Intent;

    move-result-object v3

    const-string v4, "com.tencent.open.agent.EncryTokenActivity"

    invoke-virtual {p0, v4}, Lcom/tencent/connect/b/a;->a(Ljava/lang/String;)Landroid/content/Intent;

    move-result-object v4

    if-eqz v4, :cond_1

    if-eqz v3, :cond_1

    invoke-virtual {v3}, Landroid/content/Intent;->getComponent()Landroid/content/ComponentName;

    move-result-object v5

    if-eqz v5, :cond_1

    invoke-virtual {v4}, Landroid/content/Intent;->getComponent()Landroid/content/ComponentName;

    move-result-object v5

    if-eqz v5, :cond_1

    invoke-virtual {v3}, Landroid/content/Intent;->getComponent()Landroid/content/ComponentName;

    move-result-object v3

    invoke-virtual {v3}, Landroid/content/ComponentName;->getPackageName()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v4}, Landroid/content/Intent;->getComponent()Landroid/content/ComponentName;

    move-result-object v5

    invoke-virtual {v5}, Landroid/content/ComponentName;->getPackageName()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v3, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_1

    const-string v3, "oauth_consumer_key"

    invoke-virtual {v4, v3, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string v2, "openid"

    invoke-virtual {v4, v2, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string v1, "access_token"

    invoke-virtual {v4, v1, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string v0, "key_action"

    const-string v1, "action_check_token"

    invoke-virtual {v4, v0, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    iput-object v4, p0, Lcom/tencent/connect/b/a;->e:Landroid/content/Intent;

    invoke-virtual {p0}, Lcom/tencent/connect/b/a;->e()Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/tencent/connect/b/a;->n:Lcom/tencent/tauth/b;

    invoke-virtual {p0, p1, v0}, Lcom/tencent/connect/b/a;->a(Landroid/app/Activity;Lcom/tencent/tauth/b;)V

    invoke-static {}, Lcom/tencent/open/c/c;->a()Lcom/tencent/open/c/c;

    move-result-object v0

    iget-object v1, p0, Lcom/tencent/connect/b/a;->c:Lcom/tencent/connect/b/u;

    invoke-virtual {v1}, Lcom/tencent/connect/b/u;->d()Ljava/lang/String;

    move-result-object v1

    iget-object v2, p0, Lcom/tencent/connect/b/a;->c:Lcom/tencent/connect/b/u;

    invoke-virtual {v2}, Lcom/tencent/connect/b/u;->b()Ljava/lang/String;

    move-result-object v2

    const-string v3, "2"

    const-string v4, "1"

    const-string v5, "5"

    const-string v6, "0"

    const-string v7, "0"

    const-string v8, "0"

    invoke-virtual/range {v0 .. v8}, Lcom/tencent/open/c/c;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    :goto_0
    const/4 v0, 0x3

    :goto_1
    return v0

    :cond_0
    invoke-static {}, Lcom/tencent/open/c/c;->a()Lcom/tencent/open/c/c;

    move-result-object v0

    iget-object v1, p0, Lcom/tencent/connect/b/a;->c:Lcom/tencent/connect/b/u;

    invoke-virtual {v1}, Lcom/tencent/connect/b/u;->d()Ljava/lang/String;

    move-result-object v1

    iget-object v2, p0, Lcom/tencent/connect/b/a;->c:Lcom/tencent/connect/b/u;

    invoke-virtual {v2}, Lcom/tencent/connect/b/u;->b()Ljava/lang/String;

    move-result-object v2

    const-string v3, "2"

    const-string v4, "1"

    const-string v5, "5"

    const-string v6, "1"

    const-string v7, "0"

    const-string v8, "0"

    invoke-virtual/range {v0 .. v8}, Lcom/tencent/open/c/c;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    :cond_1
    const-string v3, "tencent&sdk&qazxc***14969%%"

    const-string v4, "qzone3.4"

    new-instance v5, Ljava/lang/StringBuilder;

    invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v5, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/tencent/open/d/t;->f(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    new-instance v1, Lorg/json/JSONObject;

    invoke-direct {v1}, Lorg/json/JSONObject;-><init>()V

    :try_start_0
    const-string v2, "encry_token"

    invoke-virtual {v1, v2, v0}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    :goto_2
    iget-object v0, p0, Lcom/tencent/connect/b/a;->n:Lcom/tencent/tauth/b;

    invoke-interface {v0, v1}, Lcom/tencent/tauth/b;->a(Ljava/lang/Object;)V

    goto :goto_0

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Lorg/json/JSONException;->printStackTrace()V

    goto :goto_2

    :cond_2
    invoke-direct {p0, p1, p6, p5}, Lcom/tencent/connect/b/a;->a(Landroid/app/Activity;Landroid/support/v4/app/Fragment;Z)Z

    move-result v0

    if-eqz v0, :cond_4

    if-eqz p4, :cond_3

    const-string v0, "10785"

    const-wide/16 v1, 0x0

    iget-object v3, p0, Lcom/tencent/connect/b/a;->c:Lcom/tencent/connect/b/u;

    invoke-virtual {v3}, Lcom/tencent/connect/b/u;->b()Ljava/lang/String;

    move-result-object v3

    invoke-static {p1, v0, v1, v2, v3}, Lcom/tencent/open/d/t;->a(Landroid/content/Context;Ljava/lang/String;JLjava/lang/String;)V

    :cond_3
    const-string v0, "openSDK_LOG"

    const-string v1, "OpenUi, showUi, return Constants.UI_ACTIVITY"

    invoke-static {v0, v1}, Lcom/tencent/a/a/d;->b(Ljava/lang/String;Ljava/lang/String;)V

    invoke-static {}, Lcom/tencent/open/c/c;->a()Lcom/tencent/open/c/c;

    move-result-object v0

    iget-object v1, p0, Lcom/tencent/connect/b/a;->c:Lcom/tencent/connect/b/u;

    invoke-virtual {v1}, Lcom/tencent/connect/b/u;->d()Ljava/lang/String;

    move-result-object v1

    iget-object v2, p0, Lcom/tencent/connect/b/a;->c:Lcom/tencent/connect/b/u;

    invoke-virtual {v2}, Lcom/tencent/connect/b/u;->b()Ljava/lang/String;

    move-result-object v2

    const-string v3, "2"

    const-string v4, "1"

    const-string v5, "5"

    const-string v6, "0"

    const-string v7, "0"

    const-string v8, "0"

    invoke-virtual/range {v0 .. v8}, Lcom/tencent/open/c/c;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    const/4 v0, 0x1

    goto/16 :goto_1

    :cond_4
    invoke-static {}, Lcom/tencent/open/c/c;->a()Lcom/tencent/open/c/c;

    move-result-object v0

    iget-object v1, p0, Lcom/tencent/connect/b/a;->c:Lcom/tencent/connect/b/u;

    invoke-virtual {v1}, Lcom/tencent/connect/b/u;->d()Ljava/lang/String;

    move-result-object v1

    iget-object v2, p0, Lcom/tencent/connect/b/a;->c:Lcom/tencent/connect/b/u;

    invoke-virtual {v2}, Lcom/tencent/connect/b/u;->b()Ljava/lang/String;

    move-result-object v2

    const-string v3, "2"

    const-string v4, "1"

    const-string v5, "5"

    const-string v6, "1"

    const-string v7, "0"

    const-string v8, "0"

    invoke-virtual/range {v0 .. v8}, Lcom/tencent/open/c/c;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    new-instance v0, Lcom/tencent/connect/b/d;

    iget-object v1, p0, Lcom/tencent/connect/b/a;->a:Lcom/tencent/tauth/b;

    invoke-direct {v0, p0, v1}, Lcom/tencent/connect/b/d;-><init>(Lcom/tencent/connect/b/a;Lcom/tencent/tauth/b;)V

    iput-object v0, p0, Lcom/tencent/connect/b/a;->a:Lcom/tencent/tauth/b;

    iget-object v0, p0, Lcom/tencent/connect/b/a;->a:Lcom/tencent/tauth/b;

    invoke-direct {p0, p5, v0}, Lcom/tencent/connect/b/a;->a(ZLcom/tencent/tauth/b;)I

    move-result v0

    goto/16 :goto_1
.end method

.method public a()V
    .locals 1

    const/4 v0, 0x0

    iput-object v0, p0, Lcom/tencent/connect/b/a;->m:Landroid/app/Activity;

    iput-object v0, p0, Lcom/tencent/connect/b/a;->a:Lcom/tencent/tauth/b;

    return-void
.end method

.method public a(Landroid/app/Activity;IILandroid/content/Intent;)V
    .locals 4

    if-nez p4, :cond_0

    :goto_0
    return-void

    :cond_0
    const/4 v1, 0x0

    iget-object v0, p0, Lcom/tencent/connect/b/a;->d:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :cond_1
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_4

    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/tencent/connect/common/b;

    iget v3, v0, Lcom/tencent/connect/common/b;->a:I

    if-ne v3, p2, :cond_1

    iget-object v1, v0, Lcom/tencent/connect/common/b;->b:Lcom/tencent/tauth/b;

    iget-object v2, p0, Lcom/tencent/connect/b/a;->d:Ljava/util/List;

    invoke-interface {v2, v0}, Ljava/util/List;->remove(Ljava/lang/Object;)Z

    move-object v0, v1

    :goto_1
    const-string v1, "key_response"

    invoke-virtual {p4, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-direct {p0, v1}, Lcom/tencent/connect/b/a;->c(Ljava/lang/String;)V

    if-nez v0, :cond_2

    invoke-static {p1, p4}, Lcom/tencent/connect/common/AssistActivity;->a(Landroid/app/Activity;Landroid/content/Intent;)V

    goto :goto_0

    :cond_2
    const/4 v1, -0x1

    if-ne p3, v1, :cond_3

    invoke-static {p4, v0}, Lcom/tencent/connect/b/a;->a(Landroid/content/Intent;Lcom/tencent/tauth/b;)V

    :goto_2
    invoke-virtual {p0}, Lcom/tencent/connect/b/a;->a()V

    invoke-static {}, Lcom/tencent/a/a/d;->f()Lcom/tencent/a/a/d;

    move-result-object v0

    invoke-virtual {v0}, Lcom/tencent/a/a/d;->b()V

    goto :goto_0

    :cond_3
    const-string v1, "openSDK_LOG"

    const-string v2, "OpenUi, onActivityResult, Constants.ACTIVITY_CANCEL"

    invoke-static {v1, v2}, Lcom/tencent/a/a/d;->b(Ljava/lang/String;Ljava/lang/String;)V

    invoke-interface {v0}, Lcom/tencent/tauth/b;->a()V

    goto :goto_2

    :cond_4
    move-object v0, v1

    goto :goto_1
.end method

.method public a(Landroid/content/Context;)V
    .locals 8
    .annotation build Landroid/annotation/SuppressLint;
        value = {
            "SetJavaScriptEnabled"
        }
    .end annotation

    const/4 v7, 0x1

    const-string v1, "tencent&sdk&qazxc***14969%%"

    iget-object v0, p0, Lcom/tencent/connect/b/a;->c:Lcom/tencent/connect/b/u;

    invoke-virtual {v0}, Lcom/tencent/connect/b/u;->c()Ljava/lang/String;

    move-result-object v2

    iget-object v0, p0, Lcom/tencent/connect/b/a;->c:Lcom/tencent/connect/b/u;

    invoke-virtual {v0}, Lcom/tencent/connect/b/u;->b()Ljava/lang/String;

    move-result-object v3

    iget-object v0, p0, Lcom/tencent/connect/b/a;->c:Lcom/tencent/connect/b/u;

    invoke-virtual {v0}, Lcom/tencent/connect/b/u;->d()Ljava/lang/String;

    move-result-object v4

    const-string v5, "qzone3.4"

    const/4 v0, 0x0

    if-eqz v2, :cond_0

    invoke-virtual {v2}, Ljava/lang/String;->length()I

    move-result v6

    if-lez v6, :cond_0

    if-eqz v3, :cond_0

    invoke-virtual {v3}, Ljava/lang/String;->length()I

    move-result v6

    if-lez v6, :cond_0

    if-eqz v4, :cond_0

    invoke-virtual {v4}, Ljava/lang/String;->length()I

    move-result v6

    if-lez v6, :cond_0

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/tencent/open/d/t;->f(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    move-object v1, v0

    :goto_0
    new-instance v0, Lcom/tencent/open/b/b;

    invoke-direct {v0, p1}, Lcom/tencent/open/b/b;-><init>(Landroid/content/Context;)V

    invoke-virtual {v0}, Lcom/tencent/open/b/b;->getSettings()Landroid/webkit/WebSettings;

    move-result-object v2

    invoke-virtual {v2, v7}, Landroid/webkit/WebSettings;->setDomStorageEnabled(Z)V

    invoke-virtual {v2, v7}, Landroid/webkit/WebSettings;->setJavaScriptEnabled(Z)V

    invoke-virtual {v2, v7}, Landroid/webkit/WebSettings;->setDatabaseEnabled(Z)V

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const-string v3, "<!DOCTYPE HTML><html lang=\"en-US\"><head><meta charset=\"UTF-8\"><title>localStorage Test</title><script type=\"text/javascript\">document.domain = \'qq.com\';localStorage[\""

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    iget-object v3, p0, Lcom/tencent/connect/b/a;->c:Lcom/tencent/connect/b/u;

    invoke-virtual {v3}, Lcom/tencent/connect/b/u;->d()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, "_"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    iget-object v3, p0, Lcom/tencent/connect/b/a;->c:Lcom/tencent/connect/b/u;

    invoke-virtual {v3}, Lcom/tencent/connect/b/u;->b()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, "\"]=\""

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, "\";</script></head><body></body></html>"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {}, Lcom/tencent/open/d/q;->a()Lcom/tencent/open/d/q;

    move-result-object v1

    const-string v3, "http://qzs.qq.com"

    invoke-virtual {v1, p1, v3}, Lcom/tencent/open/d/q;->a(Landroid/content/Context;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    const-string v3, "text/html"

    const-string v4, "utf-8"

    move-object v5, v1

    invoke-virtual/range {v0 .. v5}, Lcom/tencent/open/b/b;->loadDataWithBaseURL(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    return-void

    :cond_0
    move-object v1, v0

    goto :goto_0
.end method
